package com.etoak.service.impl;


import com.etoak.bean.Page;
import com.etoak.bean.RoomType;
import com.etoak.bean.RoomTypeVO;
import com.etoak.mapper.RoomTypeMapper;
import com.etoak.service.RoomTypeService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoomTypeServiceImpl  implements RoomTypeService {

    @Resource
    private RoomTypeMapper mapper;

    @Override
    public RoomTypeVO selectById(RoomTypeVO roomTypeVO) {
        RoomTypeVO vo = mapper.selectById(roomTypeVO);
        vo.setCheckInTime(roomTypeVO.getCheckInTime());
        return vo;
    }
}
